//
//  AboutUsResModel.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/10/18.
//

import UIKit
import ObjectMapper

class AboutUsResModel: Mappable {
    var code : String?
    var data : AboutUsDataModel?
    var msg : String?
    
    required init?(map: Map){}
    
    func mapping(map: Map)
    {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}

class AboutUsDataModel: Mappable {
    var articleCategoryId : Int?
    var author : String?
    var code : String?
    var content : String?
    var createdTime : String?
    var hits : Int?
    var id : Int?
    var imageUrl : String?
    var isPublication : Int?
    var isTop : Int?
    var seoDescription : String?
    var seoKeywords : String?
    var seoTitle : String?
    var title : String?
    required init?(map: Map){}
    
    func mapping(map: Map) {
        articleCategoryId <- map["articleCategoryId"]
        author <- map["author"]
        code <- map["code"]
        content <- map["content"]
        createdTime <- map["createdTime"]
        hits <- map["hits"]
        id <- map["id"]
        imageUrl <- map["imageUrl"]
        isPublication <- map["isPublication"]
        isTop <- map["isTop"]
        seoDescription <- map["seoDescription"]
        seoKeywords <- map["seoKeywords"]
        seoTitle <- map["seoTitle"]
        title <- map["title"]
    }
}
